package telin;

/**
*
* @author Telematica Instituut, Christian Wartena
*/

public class Region {
  private int begin;
  private int end;
  
  public Region(int b, int e) {
    begin = b;
    end = e;
  }
  public boolean contains(Region other) {
    return begin <= other.begin && end >= other.end;
  }
  public int getBegin() {
    return begin;
  }
  public int getEnd() {
    return end;
  }
}
